package com.songcha.sakura.download.base

import android.os.Parcelable
import com.songcha.sakura.download.base.DownloadTask
import com.songcha.sakura.download.IDownloadManager
import com.songcha.sakura.download.IDownloaderListener

interface IDownloader:Parcelable{
    fun download(task: DownloadTask, listener: IDownloaderListener, iDownloadManager: IDownloadManager):Int
    fun validateUrl(url:String):Boolean
}